{% extends "layouts/application.html" %}
{% block content %}

<style type="text/css">
  ul{margin:0px;padding:0px;float:left;list-style:none;}
  li{margin-left:10px;padding:0px;color:red;}
  tr{height:30px;}
</style>
<div align="center">
  <DIV class=boxright>
    <DIV class=bltop2>
      <div align="left">&nbsp;&nbsp;&nbsp;
        <strong>
          当前位置：&nbsp;&nbsp;
          <a href="/{%site_root%}/resource/show_resource/">资料库</a>
          <img src="/site_media/images/zd_arrow.gif">&nbsp;&nbsp;
          <a href="/{%site_root%}/resource/show_leveltwo_resource/{{file.cata.parentId.id}}">{{file.cata.parentId.name}}</a>
          <img src="/site_media/images/zd_arrow.gif">&nbsp;&nbsp;
          <a href="/{%site_root%}/resource/show_files/{{file.cata.id}}">{{file.cata.name}}</a>
          <img src="/site_media/images/zd_arrow.gif">&nbsp;&nbsp;
          <a href="{{file.getFile}}">{{file.name}}</a>
        </strong>
      </div>
    </DIV>
    <DIV class=c_box>
      <DIV class="rep_left" align="left">
          <TABLE id=show_tab class=tatop7px cellSpacing=0 cellPadding=4 width="100%" border=0>
			<tr><td width="100px;">文件名称：</td><td>{{file.name}}</td></tr>
            <tr><td>上传用户：</td><td>{{file.user}}</td></tr>
            <tr><td>文件大小：</td><td>{{file.size|filesizeformat}}</td></tr>
            <tr style="line-height:80px;"><td>文件摘要：</td><td>{{file.about}}</td></tr>
            <tr><td>上传时间：</td><td>{{file.datetime|date:"Y年n月j日h时i分"}}</td></tr>
            <tr><td>下载地址：</td>
            <td>
            <a target="_blank" href="{{file.getFilePath}}"><img border="0" src="/site_media/images/download.png" alt="下载"/></a>
			</td>
          </TABLE>
      </DIV>
    </DIV>
  </DIV>
  <div>
  </div>
</div>
{% endblock %}
